{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{#{% block addBtn %}{% endblock %}#}
{#{% block delBtn %}{% endblock %}#}
 {% block searchBox %}
     <div class="float-right">
         <a class="btn btn-sm btn-outline-primary" href="{{ path("SarsUserLists") }}"> <i class="ion ion-reply fs10"></i> 返回人员列表</a>
     </div>
 {% endblock %}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="">{{config.user.label}}</th>
        <th align="" width="">{{config.shenfenzhenghao.label}}</th>
        <th align="" width="">{{config.tiwen.label}}</th>
        <th align="" width="">{{config.zhengzhuang.label}}</th>
        <th align="" width="">{{config.riqi.label}}</th>
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='user_{{ Entity.id }}'>
                {{ listItem.text('user',Entity.user.xingming,Entity.id) }}
            </td>
            <td align='' width='' id='shenfenzhenghao_{{ Entity.id }}'>
                {{ listItem.text('shenfenzhenghao',Entity.shenfenzhenghao,Entity.id) }}
            </td>
            <td align='' width='' id='tiwen_{{ Entity.id }}'>
                {{ listItem.text('tiwen',Entity.tiwen,Entity.id) }}
            </td>
            <td align='' width='' id='zhengzhuang_{{ Entity.id }}'>
                {{ listItem.text('zhengzhuang',Entity.zhengzhuang,Entity.id) }}
            </td>
            <td align='' width='' id='riqi_{{ Entity.id }}'>
                {{ listItem.text('riqi',Entity.riqi,Entity.id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('SarsUserLog','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

